<template>
	<view class="">
		<web-view :src="requestURL+pageUrl"></web-view>
	</view>
</template>
<script>
	import { agreeBlank } from '@/common/utils/config.js'
	export default {
		onLoad(option) {
			this.requestURL=agreeBlank
			this.pageUrl = option.url
			console.log(this.requestURL+this.pageUrl)
			if (option.title) {
				setTimeout(() => {
					uni.setNavigationBarTitle({
						title: option.title
					})
				},1000)
			}
		},
		data() {
			return {
				pageUrl: '',
				requestURL:""
			}
		}
	}
</script>

<style>
</style>
